<?php $this->macros['my_input'] = function($__p = null) { if (isset($__p[0])) { $name = $__p[0]; } else { if (array_key_exists("name", $__p)) { $name = $__p["name"]; } else {  throw new \Phalcon\Mvc\View\Exception("Macro 'my_input' was called without parameter: name");  } } if (isset($__p[1])) { $class = $__p[1]; } else { if (array_key_exists("class", $__p)) { $class = $__p["class"]; } else { $class = 'input-text'; } }  ?><?php return $this->tag->textField([$name, 'class' => $class]); ?><?php }; $this->macros['my_input'] = \Closure::bind($this->macros['my_input'], $this); ?><?= '<p>' . $this->callMacro('my_input', ['name']) . '</p>' ?>